#include "DlgBase.h"
#include "Registry.h"
#include "ActorTable.h"

DlgBase::DlgBase(QWidget * parent, Qt::WindowFlags f)
	: QDialog(parent, f)
{
	Registry &reg = Registry::instance();
	reg.reg(theOnlyDialogID, this);
	setAttribute(Qt::WA_DeleteOnClose, true);
}

DlgBase::~DlgBase()
{
	Registry &reg = Registry::instance();
	reg.reg(theOnlyDialogID, nullptr);
}
